/*
 * Button.hpp
 *
 *  Created on: 09/12/2011
 *      Author: Tales
 */

#ifndef YEP_UI_BUTTON_HPP_
#define YEP_UI_BUTTON_HPP_

#include "../common.hpp"
#include "ButtonBase.hpp"
#include "ButtonStyle.hpp"

namespace yep
{

/**
 * @brief A button.
 */
class Button: public ButtonBase
{
public:
	Button();
	Button(const string& text = "");
	virtual ~Button();
	virtual void onDraw(SDL_Surface *screen);
private:
	ButtonStyle *style;
};

} /* namespace yep */
#endif /* YEP_UI_BUTTON_HPP_ */
